<template>
  <div class="bestcotainer">
    <div class="bg"><img src="../assets/myfoodsystembg.jpg" class="myfoodsystembg"/></div>
    <div class="logincontent">
      <h1>{{logintopic}}</h1>
      <div class="container">
        <div class="row clearfix">
          <div class="col-md-7 column">
            <form role="form">
              <div class="form-group">
                <label for="loginuser">{{loginusername}}</label>
                <input type="text" class="form-control" id="loginuser" placeholder="please enter your username" v-model="loginmes.username"/>
              </div>
              <div class="form-group">
                <label for="loginpassward">{{loginpassward}}</label>
                <input type="password" class="form-control" id="loginpassward" placeholder="please enter your passward"  v-model="loginmes.userpas"/>
              </div>
              <div class="form-group">
                <p class="help-block">
                  {{loginHint}}
                </p>
              </div>
              <div class="checkbox">
                <vbutton class="btn btn-default" @vclick="gotologin()">{{loginbtn}}</vbutton>
                <vbutton class="btn btn-default" @vclick="gotores()">{{resbtn}}</vbutton>
                <label><input type="checkbox" />{{loginstr}}</label>
              </div>
            </form>
          </div>
          <div class="col-md-5 column"></div>
        </div>
      </div>
    </div>
  </div>
</template>


<script src="../js/loginindex.js"></script>

<!-- Add "scoped" attribute to limit CSS to this component only -->

<style scoped>
  /*引入外部样式*/
  @import "../css/loginindex.css";
</style>

